package com.driving.single.common.school.service.impl;

import com.driving.single.common.domain.TbSchoolService;
import com.driving.single.common.mapper.TbSchoolServiceMapper;
import com.driving.single.common.school.service.CommonSchoolServiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommonSchoolServiceServiceImpl implements CommonSchoolServiceService {
    @Autowired
    private TbSchoolServiceMapper tbSchoolServiceMapper;
    /**
     * 实现根据驾校ID  查询驾校服务   接口
     * @param schoolId 主键
     */
    @Override
    public TbSchoolService selectSchoolServiceBySid(Long schoolId) {
        return this.tbSchoolServiceMapper.selectByPrimaryKey(schoolId);
    }
}
